Understand the format of your commercetools product records in Algolia.
variants
attribute.attributes
field lists all the commercetools product attributes.
name
description
searchableAttributes
.
All commercetools product attributes where the isSearchable
property is true
. It’s a subset of the attributes
object in the product schema.categories
distinct
feature one the productID
attribute.
categoryPageId
attribute.
The categoryKeys
attribute is a flattened version of the categories
attribute hierarchy.
isInStock
value for each affected SKU.
isInStock
is true
if the inventory for any supply channel is greater than zero for that SKU.
prices
attribute consists of key-value pairs with currency codes as keys, such as “USD”.
Values contain:
min
in centAmount
: the smallest unit of the currency such as cents, pence, or centime.
max
in centAmount
priceValues
with the following properties:
id
- The ID of the price.value
- The price in centAmount
.discountedValue
- The discounted price in centAmount
.validFrom
- The date from which the price is valid.validUntil
- The date until which the price is valid.customerGroupID
- The ID of the customer group to which the price applies.